#pragma once

#include <QtWidgets/QMainWindow>
#include "ui_tl_client.h"
#include "client_login.h"

class Tl_client : public QMainWindow
{
    Q_OBJECT

public:
    Tl_client(QWidget *parent = Q_NULLPTR);
    ~Tl_client();
private:
    Ui::Tl_clientClass ui;
    socket* client;
    client_login* login_window;

public slots:
    void show_window(QString,QString);
    void send_message();
    void modify_username();
    void receive(QString);
};
